package com.g.ocache.index;

import java.util.List;

import com.g.ocache.enums.SortingOrder;


/**
 * 
 * @author zhangyf
 * @param <K>
 * @param <V>
 */
public interface Leaf<K, V> extends Node<K, V> {
	
	int getKeyCount();
	
	List<K> getKeys();
	
	boolean addKey(K key);
	
	boolean removeKey(K key);
	
	List<K> getKeys(SortingOrder order);
}
